package org.gc.webapp.action.admin.authority;

import java.util.List;

import org.gc.common.vo.security.RoleVO;
import org.gc.service.security.RoleService;
import org.gc.webapp.action.BaseAction;


/**
 * 权限列表
 * 
 * @author bl00252
 *
 */
public class ListAction extends BaseAction {

	private static final long serialVersionUID = -8520772634782353680L;
	
	private RoleService roleService;
	


	private List<RoleVO> roleList;

	@Override
	public String execute() throws Exception {
		setRoleList(roleService.getAll());
		return super.execute();
	}
	
 
	public void setRoleService(RoleService roleService) {
		this.roleService = roleService;
	}

	public void setRoleList(List<RoleVO> roleList) {
		this.roleList = roleList;
	}

	public List<RoleVO> getRoleList() {
		return roleList;
	}
	
}
